Skip to content

Instantly share code, notes, and snippets.

@khronokernel
khronokernel / electron_patcher.py
Last active November 30, 2026 02:48
Electron and Chrome patcher to force OpenGL rendering
"""
electron_patcher.py: Enforce 'use-angle@1' in Chrome and Electron applications
Version 1.0.0 (2024-08-11)
"""
import enum
import json
from pathlib import Path
@MangaD
MangaD / cpp_project_layouts.md
Last active November 30, 2026 02:47
Common C++ Project Layouts

📦 Common C++ Project Layouts (Practical Guide)

CC0

Disclaimer: ChatGPT generated document. Treat as a starting point and adapt to your team/build system.

A C++ project’s directory structure affects:

  • Build system ergonomics (CMake/Meson/Bazel/Makefiles)
  • Include hygiene (public vs private headers)
@trulow
trulow / electron_patcher.py
Last active November 30, 2026 02:45 — forked from khronokernel/electron_patcher.py
Electron and Chrome patcher to force OpenGL rendering
"""
electron_patcher.py: Enforce 'use-angle@1' in Chrome and Electron applications
This script patches Chromium-based applications (including Electron apps and Chrome)
to enforce the use of OpenGL rendering through the 'use-angle@1' setting.
Features:
- macOS only: Optimized for macOS Electron applications
- Auto-detection: Automatically finds Electron applications in standard locations
- Specific apps: Has special handling for common apps like Spotify, Discord, VSCode, Microsoft Teams

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@leonardofed
leonardofed / README.md
Last active November 30, 2026 02:35
A curated list of AWS resources to prepare for the AWS Certifications


A curated list of AWS resources to prepare for the AWS Certifications

A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.


@jazzychad
jazzychad / WithAnimation.swift
Last active November 30, 2026 02:35
WithAnimation SwiftUI Property Wrapper
import SwiftUI
@propertyWrapper
struct WithAnimation<T>: DynamicProperty {
@State private var _internal: T
private let animation: Animation
init(wrappedValue: T, _ animation: Animation? = nil) {
self._internal = wrappedValue
@tommyettinger
tommyettinger / mulberry32.c
Last active November 30, 2026 02:34
Mulberry32 PRNG
/* Written in 2017 by Tommy Ettinger (tommy.ettinger@gmail.com)
To the extent possible under law, the author has dedicated all copyright
and related and neighboring rights to this software to the public domain
worldwide. This software is distributed without any warranty.
See <http://creativecommons.org/publicdomain/zero/1.0/>. */
#include <stdint.h>
@yuansql
yuansql / javdb-top250.md
Created November 30, 2026 02:33 — forked from jinjier/javdb-top250.md
JavDB top 250 movies list. [Updated on 2026/01]
@dexhorthy
dexhorthy / the-no-ai-slop-manifesto.md
Last active November 30, 2026 02:31
The No AI Slop Manifesto

No AI Slop: A Manifesto

Written by the speakers and attendees of AIE Code Summit 2026

In 2001, 17 software engineers and leaders got together at a ski lodge in Snowbird, Utah to understand the biggest challenge of their time: heavyweight, documentation-driven software development processes.

Out of this we got the Agile Manifesto, four values and twelve principles that changed how most of the industry builds software.

Today we convene to build our own manifesto - the No AI Slop manifesto.